export namespace DemoAction {
  export class EditDemoNew {
    static readonly type = `编辑demo-新建`;
  }

  export class EditDemo {
    static readonly type = `编辑demo`;

    constructor(public data: any) {
    }
  }

  export class CloseDemo {
    static readonly type = `关闭编辑demo窗口`;
  }

  export class SaveDemo {
    static readonly type = `保存demo`;
  }

  export class Delete {
    static readonly type = `删除demo`;

    constructor(public data: any) {
    }
  }

  export class ImportSetting {
    static readonly type = `导入设置`;

    constructor(public settingString: string) {
    }
  }

  export class ResetData {
    static readonly type = `初始化数据`;
  }

  export class LoadMenu {
    static readonly type = `加载菜单`;
  }

  export class CreateMenu {
    static readonly type = `打开创建菜单窗口`;
  }

  export class EditMenu {
    static readonly type = `打开编辑菜单窗口`;

    constructor(public data: any) {
    }
  }

  export class DeleteMenu {
    static readonly type = `删除菜单`;

    constructor(public data: any) {
    }
  }

  export class CloseMenu {
    static readonly type = `关闭菜单窗口`;
  }

  export class SaveMenu {
    static readonly type = `保存菜单`;
  }

  export class ImportFromClipboard {
    static readonly type = `从剪贴板导入数据`;
  }
}
